<alfresco-search-control *ngIf="isLoggedIn()"
                         [searchTerm]="searchTerm"
                         [autocomplete]="false"
                         (searchSubmit)="onSearchSubmit($event);"
                         (searchChange)="onSearchTermChange($event);"
                         (expand)="onExpandToggle($event);"
                         (fileSelect)="onItemClicked($event)">
</alfresco-search-control>

<alfresco-viewer *ngIf="fileShowed" [(showViewer)]="fileShowed"
                 [fileNodeId]="fileNodeId"
                 [overlayMode]="true">
  <div class="mdl-spinner mdl-js-spinner is-active"></div>
</alfresco-viewer>
